package net.wicp.tams.common.es.constant;

public enum OptTemp {
	actionBulkTemp("操作模板", "{ \"%s\": { \"_index\": \"%s\", \"_type\": \"%s\", \"_id\": \"%s\" }}\n"),

	actionBulkTempNoId("无ID的create模板", "{ \"%s\": { \"_index\": \"%s\", \"_type\": \"%s\"}}\n");

	private OptTemp(String desc, String value) {
		this.desc = desc;
		this.value = value;
	}

	private final String desc;
	private final String value;

	public String getDesc() {
		return desc;
	}

	public String getValue() {
		return value;
	}
}
